package com.jbm.jsm.iface;

import com.jbm.core.iface.IAcross;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.*;

@Entity
@Table(name = "fun_authority", schema = "", catalog = "jsm")
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true)
@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class FunAuthorityEntity extends IAcross{

    public FunAuthorityEntity()
    {
        super();
    }

    public FunAuthorityEntity(IAcross ia)
    {
        super(ia);
    }

    private int faId;
    private Integer fId;
    private Integer aId;

    @Id
    @Column(name = "fa_id")
    @GeneratedValue
    public int getFaId() {
        return faId;
    }

    public void setFaId(int faId) {
        this.faId = faId;
    }
    @Basic
    @Column(name = "f_id")
    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    @Basic
    @Column(name = "a_id")
    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }
}
